package com.punai.evaluationSystem.costDataEvalute.service;

import com.punai.common.core.page.TableDataInfo;
import com.punai.evaluationSystem.costDataEvalute.bo.CostDataEvaluteBo;
import com.punai.evaluationSystem.costDataEvalute.bo.EvaluationDataPriceBo;
import com.punai.evaluationSystem.costDataEvalute.domain.EvaluationResults;

import java.util.List;

public interface FeeItemYypmEvaluteService {

    /**
     * 结果包数据
     * @param costDataEvaluteBo
     * @return
     */
    List<EvaluationResults> initResultsTable(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 保存资产库
     * @param resultIds
     * @return
     */
    int saveAssetLibrary(List<String> resultIds);

    /**
     * 清洗后需要评价的数据
     * @param costDataEvaluteBo
     * @return
     */
    TableDataInfo initCleanDataEvaluteTable(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 明细数据id
     * @param costDataEvaluteBo
     * @return
     */
    List<String> cleanDataInfoIdList(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 重新计算
     * @param costDataEvaluteBo
     * @return
     */
    EvaluationDataPriceBo recalculationPrice(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 保存价格评价
     * @param costDataEvaluteBo
     * @return
     */
    int saveEvaluationPrice(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 查看详情
     * @param costDataEvaluteBo
     * @return
     */
    List<EvaluationDataPriceBo> initEvaluteDataList(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 修改价格评价
     * @param costDataEvaluteBo
     * @return
     */
    int updateEvaluationPrice(CostDataEvaluteBo costDataEvaluteBo);

    /**
     * 评价明细数据id
     * @param costDataEvaluteBo
     * @return
     */
    List<String> evaluteDataInfoIdList(CostDataEvaluteBo costDataEvaluteBo);
}
